<!--Descriptive page name, messages and instructions-->
<% if @commentable.nil? %>
  <!-- the most recent comments -->
  <% cache(logged_in? ? 'latest_comments' : 'latest_comments_public') do %>
    <h2><%= t('.viewing_last', :default => "Viewing %{count} recent comments", :count => @comments.length) %></h2>
    <ol class="comment index">
      <% for comment in @comments %>
        <% if comment.approved or logged_in? %>
          <%= render :partial => 'comments/single_comment_abbreviated', :locals => {:single_comment => comment} %>
        <% end %>
      <% end %>
    </ol>
  <% end %>
<% else %>
  <h2><%= title_for_comment_page(@commentable) %></h2> 
<!--/descriptions-->

<!--main content-->
  <%= render :partial => 'comments/commentable', :locals => { :commentable => @commentable } %>
<% end %>
<!--main content-->

<!--subnav-->
<!--/subnav-->